package co.yixiang.gen;

import co.yixiang.common.security.annotation.EnableCustomConfig;
import co.yixiang.common.security.annotation.EnableYxFeignClients;
import co.yixiang.common.security.annotation.EnableYxResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;

/**
 * @author yshop
 * @date 2020/09/10
 * 代码生成模块
 */

@EnableCustomConfig
@EnableYxFeignClients
@SpringCloudApplication
@EnableYxResourceServer
public class YshopGenApplication {

	public static void main(String[] args) {
		SpringApplication.run(YshopGenApplication.class, args);

		System.out.println(
						"              __                  \n" +
						"  __ __ ___  / /  ___   ___       \n" +
						" / // /(_-< / _ \\/ _ \\ / _ \\   \n" +
						" \\_, //___//_//_/\\___// .__/    \n" +
						"/___/                /_/          \n "+

						"\n意象yshop电商系统代码生成器服务启动成功 \n官网：https://www.yixiang.co 提供技术支持ﾞ  \n");
	}
}
